Product license activation is necessary to generate a runtime license for distribution. A license can be activated in one of two ways:
- The Dart License Manager utility can be run at the end of the Windows installation process or later from the product shortcuts. It can be used to activate either a 30-day trial or to fully license the product.
- Alternatively, use the dotnet-dartlicense .NET tool:
- Install the tool from the Developer Command Prompt: “dotnet tool install -g dotnet-dartlicense” (the tool will automatically download from nuget.org and be installed globally)
- At the Developer Command Prompt, interactively execute “dartlicense”
- Select option 1 and enter your Product Key.
Created license files are stored using Environment.SpecialFolder.LocalApplicationData which has a specific mapping for each operating system. On Windows it maps to:
%LocalAppData%\Dart Communications
Users can view this file to confirm trial expiration date or their activated Product Key.